﻿using System;

namespace edowork.com.Model
{
    #region departmentInfo

    [Serializable]
    public class departmentInfo
    {
        #region Private fields

        protected string _departmentid = String.Empty;
        protected string _departmentremark = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public departmentInfo() { }

        #region Public Properties

        public string Departmentid
        {
            get { return _departmentid; }
            set { _departmentid = value; }
        }

        public string Departmentremark
        {
            get { return _departmentremark; }
            set { _departmentremark = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into department(Departmentid,Departmentremark,Sysdate) values('{0}','{1}','{2}')";
        }

        #endregion

    }

    #endregion
}

